package com.example.ware.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;
import sun.security.x509.RFC822Name;

import java.util.Date;
import java.util.List;

@Data
@Component
@NoArgsConstructor
@AllArgsConstructor
//详细烟花种类的进出记录表
public class Access {
    private String id;
    private double adds;
    private double reduces;
    private String fid; //烟花单品
//    private String did;//申请表
//    private String wid;//仓库
    private String pid;//区域
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
//    private Date subtime;
    private String img;//图片列表
    private String rid;
    private int addnum;//增加的件数
    private int reducenum;

    @TableField(exist = false)
    private String fname;//烟花名字

}
